local extension = Package:new("variation_strategic_advantage", Package.CardPack)

extension.extensionName = "variation_hegemony"
extension.game_modes_whitelist = {"variation_heg_mode"}

local H = require "packages/ol_hegemony/util"

--应变国战势备牌堆
Fk:loadTranslationTable{
    ["variation_strategic_advantage"] = "应变国战势备篇",
}

extension:addCardSpec("slash", Card.Spade, 4, { heg_variation = {"@fujia-public", "variation_addtarget"} }) --富甲 目标+1
extension:addCardSpec("slash", Card.Spade, 7)
extension:addCardSpec("slash", Card.Club, 4)
extension:addCardSpec("slash", Card.Club, 6, { heg_variation = {"@kongchao-public", "variation_addtarget"} })--空巢 目标+1
extension:addCardSpec("slash", Card.Club, 7)
extension:addCardSpec("slash", Card.Club, 8, { heg_variation = {"@zhuzhan-public", "variation_disresponsive"} })--助战 不可响应
extension:addCardSpec("slash", Card.Heart, 10)
extension:addCardSpec("slash", Card.Heart, 11, { heg_variation = {"@heg_yibing-public", "variation_disresponsive"} })--疑兵 不可响应

extension:addCardSpec("thunder__slash", Card.Spade, 9)
extension:addCardSpec("thunder__slash", Card.Spade, 10)
extension:addCardSpec("fire__slash", Card.Diamond, 8, { heg_variation = {"@canqu-public", "variation_damage"} })--残躯 伤害+1
extension:addCardSpec("fire__slash", Card.Diamond, 9)
extension:addCardSpec("ice__slash", Card.Spade, 8)

extension:addCardSpec("jink", Card.Diamond, 6)
extension:addCardSpec("jink", Card.Diamond, 7, { heg_variation = {"@heg_yibing-public", "variation_draw"} })--疑兵 摸牌
extension:addCardSpec("jink", Card.Diamond, 13)
extension:addCardSpec("jink", Card.Heart, 4)
extension:addCardSpec("jink", Card.Heart, 5, { heg_variation = {"@kongchao-public", "variation_draw"} })--空巢  摸牌
extension:addCardSpec("jink", Card.Heart, 7)

extension:addCardSpec("peach", Card.Diamond, 2)
extension:addCardSpec("peach", Card.Heart, 8)
extension:addCardSpec("peach", Card.Heart, 9)
extension:addCardSpec("analeptic", Card.Club, 9)

extension:addCardSpec("nullification", Card.Spade, 13)
extension:addCardSpec("heg__nullification", Card.Diamond, 11)
extension:addCardSpec("heg__nullification", Card.Club, 13)

extension:addCardSpec("unexpectation", Card.Diamond, 4, { heg_variation = {"@heg_yibing-public", "variation_addtarget"} })--疑兵 出其不意 目标+1
extension:addCardSpec("unexpectation", Card.Heart, 13, { heg_variation = {"@heg_yibing-public", "variation_addtarget"} })--疑兵 出其不意  目标+1
extension:addCardSpec("collateral", Card.Club, 12, { heg_variation = {"@fujia-public", "variation_disresponsive"} })--富甲 借刀杀人 不可响应

extension:addCardSpec("lure_tiger", Card.Heart, 2)
extension:addCardSpec("alliance_feast", Card.Heart, 1)

extension:addCardSpec("fight_together", Card.Club, 10)
extension:addCardSpec("fight_together", Card.Spade, 12)
extension:addCardSpec("imperial_order", Card.Club, 3)

--合纵牌
H.addAllianceCardSpec(extension, "thunder__slash", Card.Club, 5)
H.addAllianceCardSpec(extension, "thunder__slash", Card.Spade, 11)
H.addAllianceCardSpec(extension, "jink", Card.Heart, 6)
H.addAllianceCardSpec(extension, "peach", Card.Diamond, 3)
H.addAllianceCardSpec(extension, "analeptic", Card.Spade, 6)
H.addAllianceCardSpec(extension, "lure_tiger", Card.Diamond, 10)
H.addAllianceCardSpec(extension, "burning_camps", Card.Spade, 3)
H.addAllianceCardSpec(extension, "burning_camps", Card.Club, 11)
H.addAllianceCardSpec(extension, "burning_camps", Card.Heart, 12)
H.addAllianceCardSpec(extension, "threaten_emperor", Card.Diamond, 1)
H.addAllianceCardSpec(extension, "threaten_emperor", Card.Spade, 1)

--武器
extension:addCardSpec("sa__blade", Card.Spade, 5)
extension:addCardSpec("sa__halberd", Card.Diamond, 12)

--防具和坐骑
H.addAllianceCardSpec(extension, "sa__breastplate", Card.Club, 2)
extension:addCardSpec("dark_armor", Card.Spade, 2)
H.addAllianceCardSpec(extension, "jingfan", Card.Heart, 3)

--宝物
extension:addCardSpec("jade_seal", Card.Club, 1)
extension:addCardSpec("wooden_ox", Card.Diamond, 5)

return extension